package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.PageParam;

public interface EmployeeService {

    /**
     * 更新员工
     * @param employee
     * @return
     */
    int update(Employee employee,long employeeId);

    /**
     * 分页查询
     * @param pageParam
     * @return
     */
    IPage<Employee> findPage(PageParam pageParam);

    /**
     * 添加员工
     * @param employeeId
     * @return
     */
    int add(Employee employeem,long employeeId);

}
